<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Gestion_Des_Inscriptions_Universitaires:  Fichier source de /home/omid/Bureau/projet/gestion-des-inscriptions-universitaires-version-finale/src/Etudiant.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gestion_Des_Inscriptions_Universitaires</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_etudiant_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Etudiant.h</div>  </div>
</div>
<div class="contents">
<a href="_etudiant_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00007"></a>00007 <span class="preprocessor">#ifndef _ETUDIANT_H</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define _ETUDIANT_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="comment">/* ********************************************************************* */</span>
<a name="l00012"></a>00012 <span class="comment">/*                                                                       */</span>
<a name="l00013"></a>00013 <span class="comment">/*                       Librairies de Etu                                */</span>
<a name="l00014"></a>00014 <span class="comment">/*                                                                       */</span>
<a name="l00015"></a>00015 <span class="comment">/* ********************************************************************* */</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &quot;<a class="code" href="_util_str_8h.html" title="Fichier d&#39;entête du module utilitaireString.">UtilStr.h</a>&quot;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="_chemin_8h.html">Chemin.h</a>&quot;</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="comment">/* ********************************************************************* */</span>
<a name="l00026"></a>00026 <span class="comment">/*                                                                       */</span>
<a name="l00027"></a>00027 <span class="comment">/*                        Définitions de types                           */</span>
<a name="l00028"></a>00028 <span class="comment">/*                                                                       */</span>
<a name="l00029"></a>00029 <span class="comment">/* ********************************************************************* */</span>
<a name="l00030"></a>00030 
<a name="l00038"></a><a class="code" href="structs_etudiant.html">00038</a> <span class="keyword">struct </span><a class="code" href="structs_etudiant.html">sEtudiant</a>
<a name="l00039"></a>00039         {
<a name="l00040"></a><a class="code" href="structs_etudiant.html#a732e74fccacec869df2d6a9155f30f60">00040</a>             <span class="keywordtype">int</span> <a class="code" href="structs_etudiant.html#a732e74fccacec869df2d6a9155f30f60">numEtu</a>;
<a name="l00041"></a><a class="code" href="structs_etudiant.html#acb79e900b1f05f3bc29eeca8e445cca3">00041</a>                 <span class="keywordtype">char</span> * <a class="code" href="structs_etudiant.html#acb79e900b1f05f3bc29eeca8e445cca3">nomEtu</a>;
<a name="l00042"></a><a class="code" href="structs_etudiant.html#aa9d5e667cab6cb031b324313f4c37fba">00042</a>                 <span class="keywordtype">char</span> *<a class="code" href="structs_etudiant.html#aa9d5e667cab6cb031b324313f4c37fba">prenomEtu</a>;
<a name="l00043"></a>00043         };
<a name="l00044"></a>00044 
<a name="l00049"></a><a class="code" href="_etudiant_8h.html#aae790e6e2aa692ae3263362582b8c4c6">00049</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_etudiant.html">sEtudiant</a> <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> ;
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 
<a name="l00059"></a><a class="code" href="structs_tab_etudiant.html">00059</a> <span class="keyword">struct  </span><a class="code" href="structs_tab_etudiant.html" title="Structure utilisée pour la gestion d&#39;une Etu.">sTabEtudiant</a>
<a name="l00060"></a>00060 {
<a name="l00061"></a><a class="code" href="structs_tab_etudiant.html#ac744475ab17739ace2174b1f76b8dfa9">00061</a>   <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a>**<a class="code" href="structs_tab_etudiant.html#ac744475ab17739ace2174b1f76b8dfa9">tabEtu</a>;
<a name="l00062"></a><a class="code" href="structs_tab_etudiant.html#a26215e0e57a222ac63ffc0989ec05067">00062</a>   <span class="keywordtype">int</span> <a class="code" href="structs_tab_etudiant.html#a26215e0e57a222ac63ffc0989ec05067">nbEtu</a>;
<a name="l00063"></a>00063 };
<a name="l00064"></a>00064 
<a name="l00069"></a><a class="code" href="_etudiant_8h.html#ad519c0dc23bd66f9584a1be5724967c3">00069</a> <span class="keyword">typedef</span> <span class="keyword">struct  </span><a class="code" href="structs_tab_etudiant.html" title="Structure utilisée pour la gestion d&#39;une Etu.">sTabEtudiant</a>    <a class="code" href="structs_tab_etudiant.html" title="Structure utilisée pour la gestion d&#39;une Etu.">TabEtu</a>;
<a name="l00070"></a>00070 
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a2ca30173eecd909a35ad67905b5860b9" title="Initialise un Etu. initEtu initialise numEtu, nomEtu et prenomEtu (après vérification) de la structur...">initEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> * etudiant, <span class="keyword">const</span> <span class="keywordtype">int</span> numEtu,<span class="keyword">const</span> <span class="keywordtype">char</span> * nomEtu,<span class="keyword">const</span> <span class="keywordtype">char</span> * prenom);
<a name="l00083"></a>00083 
<a name="l00093"></a>00093 <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *<a class="code" href="_etudiant_8c.html#a601a5de01692d7ce9fc397796a8ed538" title="Crée un Etu en mémoire.">creEtu</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu, <span class="keyword">const</span> <span class="keywordtype">char</span> *nomEtu, <span class="keyword">const</span> <span class="keywordtype">char</span> *prenomEtu);
<a name="l00094"></a>00094 
<a name="l00102"></a>00102 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#abfdc8a28ef0439d273f5ced06bbbc032" title="Libere un Etu en mémoire.">libEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant);
<a name="l00103"></a>00103 
<a name="l00111"></a>00111 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a5f46d81d2001377ffee55ba76fe846b4">detEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> ** etudiant);
<a name="l00112"></a>00112 
<a name="l00113"></a>00113 <span class="comment">/* ******************************************************************** */</span>
<a name="l00114"></a>00114 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00115"></a>00115 <span class="comment">/*           Accesseurs et Mutateurs de la structure Etu                */</span>
<a name="l00116"></a>00116 <span class="comment">/*                                                                                                                                              */</span>
<a name="l00117"></a>00117 <span class="comment">/* ******************************************************************** */</span>
<a name="l00118"></a>00118 
<a name="l00126"></a>00126 <span class="keywordtype">int</span> <a class="code" href="_etudiant_8c.html#acbe84fb7b0ec513117d61ea0482a4542" title="returner numEtu.">getNumEtu</a>(<span class="keyword">const</span> <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant);
<a name="l00127"></a>00127 
<a name="l00136"></a>00136 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a3053909bfa75f9b19fbbdc368eede664">setNumEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant,<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu);
<a name="l00137"></a>00137 
<a name="l00146"></a>00146 <span class="keywordtype">char</span> * <a class="code" href="_etudiant_8c.html#ad50effd960e19bb92da46ce9b31b0188" title="returner nomEtu.">getNomEtu</a>(<span class="keyword">const</span> <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant);
<a name="l00147"></a>00147 
<a name="l00156"></a>00156 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#ac51737e617025f9632f952633f5a3322" title="modifie le champ nomEtu de l&#39;etu.">setNomEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant,<span class="keyword">const</span> <span class="keywordtype">char</span> *nomEtu);
<a name="l00157"></a>00157 
<a name="l00165"></a>00165 <span class="keywordtype">char</span> * <a class="code" href="_etudiant_8c.html#ae2ea7b3795c46bfc64cabf7850474fa7" title="returner nomEtu.">getPrenomEtu</a>(<span class="keyword">const</span> <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant);
<a name="l00166"></a>00166 
<a name="l00175"></a>00175 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a5ed3854d9ad7ec9ed94be7ec2f45740e" title="modifie le champ nomEtu de l&#39;etu.">setPrenomEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant,<span class="keyword">const</span> <span class="keywordtype">char</span> *prenomEtu);
<a name="l00176"></a>00176 
<a name="l00184"></a>00184 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a8e6429f20c980826d7da7b1faacc2bbd" title="Afficher l&#39;etu.">affEtu</a>(<span class="keyword">const</span> <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *etudiant);
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 <span class="comment">/* ********************************************************************* */</span>
<a name="l00187"></a>00187 <span class="comment">/*                                                                       */</span>
<a name="l00188"></a>00188 <span class="comment">/*             Fonctions relatives aux gestiond&#39;Etu                       */</span>
<a name="l00189"></a>00189 <span class="comment">/*                                                                       */</span>
<a name="l00190"></a>00190 <span class="comment">/* ********************************************************************* */</span>
<a name="l00191"></a>00191 
<a name="l00202"></a>00202 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#aa8ecf6cd6ac6b22be031e1bf43c7d871" title="saover Etu dans un fichier binaire.">savEtuParElem</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu,<span class="keyword">const</span> <span class="keywordtype">char</span> * nomEtu,<span class="keyword">const</span> <span class="keywordtype">char</span> * prenomEtu);
<a name="l00203"></a>00203 
<a name="l00204"></a>00204 
<a name="l00215"></a>00215 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a4815cafbc489e56fcf9a2e0290910652">savEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a>*etu);
<a name="l00216"></a>00216 
<a name="l00217"></a>00217 
<a name="l00218"></a>00218 
<a name="l00228"></a>00228 <span class="keywordtype">int</span> <a class="code" href="_etudiant_8c.html#a9cedded13a722fc7d6c2b1e856a46c2d" title="recherche Etu dans un fichier binaire.">rchEtuParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu);
<a name="l00229"></a>00229 
<a name="l00239"></a>00239 <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *<a class="code" href="_etudiant_8c.html#a5caecddbe596a9c07e897ec718c61be6" title="recupérer Etu dans un fichier binaire.">recEtuParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu);
<a name="l00240"></a>00240 
<a name="l00250"></a>00250 <span class="keywordtype">int</span> <a class="code" href="_etudiant_8c.html#abf0adb629c1399e99cdc6b4546a4c128" title="supprimer Etu dans un fichier binaire.">supEtuParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu);
<a name="l00251"></a>00251 
<a name="l00261"></a>00261 <span class="keywordtype">int</span> <a class="code" href="_etudiant_8c.html#ab39938d8b5bacd48f82430385df11d17" title="supprimer Etu dans un fichier binaire.">supEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a>*etu);
<a name="l00262"></a>00262 
<a name="l00274"></a>00274 <span class="keywordtype">int</span> <a class="code" href="_etudiant_8c.html#ac7eb5bd641900c468eb2805bfaa4b2fc" title="modifier Etu dans un fichier binaire.">modifEtu</a>(<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a>*etu,<a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a>*etunew);
<a name="l00275"></a>00275 
<a name="l00287"></a>00287 <span class="keywordtype">int</span> <a class="code" href="_etudiant_8c.html#a6c84542d9e26bdb453bbe9a8dc6f7acc">mdfEtuParCode</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> numEtu, <a class="code" href="struct_etu.html" title="Structure utilisée pour la gestion d&#39;une Etu.">Etu</a> *pEtu);
<a name="l00288"></a>00288 
<a name="l00296"></a>00296 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#a72c71e1b010a2822ae25db73eee22fa3" title="Afficher base de donnee de Etu .">affEtu_DB</a>();
<a name="l00297"></a>00297 
<a name="l00302"></a>00302 <span class="keywordtype">void</span> <a class="code" href="_etudiant_8c.html#aab5b25eb54891aaed23a60808c636b3d" title="Test le module Etu.">regEtu</a>();
<a name="l00303"></a>00303 
<a name="l00304"></a>00304 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_etudiant_8h.html">Etudiant.h</a>      </li>
      <li class="footer">Généré le Thu Jun 7 2012 17:01:10 pour Gestion_Des_Inscriptions_Universitaires par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
